<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--引用CSS-->
	<link rel="stylesheet" type="text/css" href="css/mycss.css">
	
  </head>
  
  <body>
  <table width="773" height="787" border="0" align="center">
  
  <tr>
    <td height="112" colspan="2"><div align="center">
    <!--引入head.jsp到主界面来  -->
    <jsp:include flush="true" page="head.jsp"></jsp:include>
    </div></td>
  </tr>
  
  
  
  <tr>
    <td width="25%" height="500" valign="top" bgcolor="8CCBF6">
    <jsp:include flush="true" page="leftAdmin.jsp"></jsp:include>
    </td>
    
    
    <td width="75%" valign="top"><div align="center" >    
    
     <center>
              
              
              
              
            <br> <br>
     <h1>所有的成果页面 </h1> 
          
    <table width="100%" align="center" border="1">

    <tr>    
    <th>mes_id</th>
    <th>title</th>
    <th>teacher</th>
    <th>major</th>
    <th>language</th>
    <th>grade</th>
    <th>member</th>
    <th>修改</th>
    <th>删除</th>
    </tr>
    
    <s:iterator value="#request.list" >
    <tr>
    <td>
        <s:property value="mes_id"/>
    </td>
     <td>
           <a href="adminMessage?message.mes_id=<s:property value="mes_id"/>"><s:property value="title"/></a> 
    </td>
    
     <td>
        <s:property value="teacher"/>
    </td>
    <td>
        <s:property value="major"/>
    </td>
     <td>
        <s:property value="language"/>
    </td>
    <td><s:property value="grade"/></td>
    <td><s:property value="member"/></td>
    
   <td>
    <a href="messageAction!updateMessMain?message.mes_id=<s:property value="mes_id"/>" onclick="return del();">修改</a>
    </td>
    
    <td>
    <a href="messageAction!deleteMessage?message.mes_id=<s:property value="mes_id"/>" onclick="return del();">删除</a>
    </td>
    
    </tr>

    </s:iterator>
    </table>

        
            
            
    </center>


    </div></td>
  </tr>
  
  
  <tr>
    <td colspan="2"><div align="center">
     <jsp:include flush="true" page="tail.jsp"></jsp:include>
    </div></td>
  </tr>
    
  
</table>
  </body>
</html>

